img{
    width: 100%;
    display: block;
    position: relative;
    height: 100%;
}
div{
    width: 100%;
    height: 100%;
    img{
        width: 100%;
        height: 100%;
        max-width: 50px;
        max-height: 50px;
    }
}
